package com.lancer.cloud.engine.annotation;

import com.lancer.cloud.engine.enums.RuleTypeEnum;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 标记规则注解类
 * @author caijinbang
 * @date 2019-06-25 12:51
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface Rule {

    String value() default "";

    RuleTypeEnum[] owner() default RuleTypeEnum.BUSINESS_RULE;
}
